package com.pwt.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.pwt.entity.base.BaseEntity;
import javax.persistence.*;
import lombok.EqualsAndHashCode;
import lombok.Data;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


/**
 * WhatResult
 *
 * @author auto generated
 * @date 2021-09-04 11:50:49
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "[what_result]")
@Schema(name = "WhatResult")
@DynamicInsert
@DynamicUpdate
public class WhatResult extends BaseEntity {

	/**
	 * 概览
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "name",description = "概览")
	@Column(name = "name", nullable = true, length = 64)
	private String name;

	/**
	 * 是否全局 1-全局，2-个人
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "global",description = "1-全局，2-个人")
	@Column(name = "global", nullable = true, length = 64)
	private Integer global;


}
